import Vue from 'vue'
import App from './App'
import graceJS from '@/utils/grace.js'
import api from '@/api/index.js'
import state from '@/config'

Vue.config.productionTip = false;
Vue.prototype.$uni = graceJS;
Vue.prototype.$api = api;
App.mpType = 'app';

const app = new Vue({
	...App
})
app.$mount()
// #ifdef H5
state.isDebug = location.search.indexOf('debug') != -1;
// #endif
